package com.jerry.basic.finaltype;

public final class FinalAnimal {
	private String name = "";//成员变量可final可不是
    public void setName(String name){//method默认final
    	this.name = name;
    }
    public String getName(){ //method默认final
    	return this.name;
    }
}
